apt-get update

curl -fsSL https://deb.nodesource.com/setup_20.x | bash -

apt-get install nodejs yarn -y

node -v
npm -v

npm install -g npm@10.8.1

# curl -sL https://dl.yarnpkg.com/debian/pubkey.gpg | gpg --dearmor | tee /usr/share/keyrings/yarnkey.gpg >/dev/null
# echo "deb [signed-by=/usr/share/keyrings/yarnkey.gpg] https://dl.yarnpkg.com/debian stable main" | tee /etc/apt/sources.list.d/yarn.list
